package com.zlt.appparking.mapper;

import com.zlt.appparking.entity.VipType;
import com.zlt.appparking.entity.VipTypeExample;
import java.util.List;

import com.zlt.appparking.vo.VIPVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface VipTypeMapper {
    long countByExample(VipTypeExample example);

    int deleteByExample(VipTypeExample example);

    int deleteByPrimaryKey(Integer vtId);

    int insert(VipType record);

    int insertSelective(VipType record);

    List<VipType> selectByExample(VipTypeExample example);

    VipType selectByPrimaryKey(Integer vtId);

    int updateByExampleSelective(@Param("record") VipType record, @Param("example") VipTypeExample example);

    int updateByExample(@Param("record") VipType record, @Param("example") VipTypeExample example);

    int updateByPrimaryKeySelective(VipType record);

    int updateByPrimaryKey(VipType record);

    List<VIPVO> getDiscount(String pName);
}